Skip to content

fix(release): preserve desktop artifact arch#2943

Merged
juliusmarminge merged 1 commit into
mainfrom
codex/fix-release-macos-x64-artifacts
Jun 4, 2026
Merged

fix(release): preserve desktop artifact arch#2943
juliusmarminge merged 1 commit into
mainfrom
codex/fix-release-macos-x64-artifacts

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Jun 4, 2026

Copy link
Copy Markdown
Member

Summary

  • remove the extra standalone -- before the desktop artifact args in the release workflow

Why

vp run forwards args after the script name. The release workflow was invoking vp run dist:desktop:artifact -- "${args[@]}", which made the artifact script itself receive a literal standalone --. Effect CLI then stopped parsing flags after that separator, so the macOS x64 job ignored --arch x64, defaulted to the arm64 host arch, and uploaded arm64 artifacts as the x64 artifact. The GitHub release manifest merge later failed on duplicate arm64 entries.

Validation

  • vp run dist:desktop:artifact --help shows the script help
  • vp run dist:desktop:artifact -- --help reproduces the broken behavior by ignoring --help and running the default build
  • vp check
  • vp run typecheck

Note

Low Risk
Single-line CI invocation fix; no runtime app or auth changes.

Overview
Fixes the release workflow Build desktop artifact step so platform/target/arch flags are actually passed through to dist:desktop:artifact.

The step previously ran vp run dist:desktop:artifact -- "${args[@]}", which forwarded options after a bare -- into node scripts/build-desktop-artifact.ts in a way the Effect CLI did not apply. Matrix values like --arch x64 were ignored, so macOS x64 jobs could build the host default (arm64) and mislabel release assets.

It now invokes vp run dist:desktop:artifact "${args[@]}" without the extra --, so signing and verbose flags in the same args array reach the build script as intended.

Reviewed by Cursor Bugbot for commit 8cfea9d. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Fix desktop artifact architecture preservation in release workflow

Removes the standalone -- argument separator from the vp run dist:desktop:artifact command in release.yml. The separator was causing the arch args to be passed incorrectly, preventing the desktop artifact architecture from being preserved.

Macroscope summarized 8cfea9d.

@coderabbitai

coderabbitai Bot commented Jun 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: f13a7735-af19-4c91-8220-9661fb56c182

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/fix-release-macos-x64-artifacts

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Jun 4, 2026
@macroscopeapp

macroscopeapp Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Approvability

A prior Macroscope approval was dismissed. Re-evaluating 8cfea9d

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Jun 4, 2026
@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

🚀 Expo continuous deployment is ready!

  • Project → t3-code
  • Platforms → android, ios
  • Scheme → t3code-preview
  🤖 Android 🍎 iOS
Fingerprint 251694208975e82c56bd5289d014d27db782d79c 88f9ec34318a3522ac20299028ec60ca0080a665
Build Details Build Permalink
DetailsDistribution: INTERNAL
Build profile: preview:dev
Runtime version: 251694208975e82c56bd5289d014d27db782d79c
App version: 0.1.0
Git commit: fff460b4abc01f29f5b2cdb5bf25d955066816ee
Build Permalink
DetailsDistribution: INTERNAL
Build profile: preview:dev
Runtime version: 88f9ec34318a3522ac20299028ec60ca0080a665
App version: 0.1.0
Git commit: fff460b4abc01f29f5b2cdb5bf25d955066816ee
Update Details Update Permalink
DetailsBranch: pr-2943
Runtime version: 251694208975e82c56bd5289d014d27db782d79c
Git commit: 560a61bfdb62b3c50187af9825f490d79279317d
Update Permalink
DetailsBranch: pr-2943
Runtime version: 88f9ec34318a3522ac20299028ec60ca0080a665
Git commit: 560a61bfdb62b3c50187af9825f490d79279317d
Update QR

@juliusmarminge juliusmarminge force-pushed the codex/fix-release-macos-x64-artifacts branch from 7162ab1 to 8cfea9d Compare June 4, 2026 06:27
@macroscopeapp macroscopeapp Bot dismissed their stale review June 4, 2026 06:27

Dismissing prior approval to re-evaluate 8cfea9d

@github-actions github-actions Bot added size:XS 0-9 changed lines (additions + deletions). and removed size:S 10-29 changed lines (additions + deletions). labels Jun 4, 2026
@juliusmarminge juliusmarminge enabled auto-merge (squash) June 4, 2026 06:28
@juliusmarminge juliusmarminge merged commit 52ae8e8 into main Jun 4, 2026
16 checks passed
@juliusmarminge juliusmarminge deleted the codex/fix-release-macos-x64-artifacts branch June 4, 2026 06:29
J-Giggles pushed a commit to J-Giggles/t3code that referenced this pull request Jun 6, 2026
Co-authored-by: Julius Marminge <julius@mac.lan>
(cherry picked from commit 52ae8e8)
harrryyd added a commit to harrryyd/h-code that referenced this pull request Jun 8, 2026
* fix: maintain reasoning selections for multiple providers (pingdotgg#2760)

* [codex] Bump Effect to beta.73 and migrate compatibility APIs (pingdotgg#2840)

Co-authored-by: codex <codex@users.noreply.github.com>

* Add Claude Opus 4.8 support (pingdotgg#2849)

* Migrate TypeScript checks to Effect TSGo (pingdotgg#2851)

* Extract collection performance refactors from mobile stack (pingdotgg#2854)

Co-authored-by: codex <codex@users.noreply.github.com>

* Extract independent web cleanup from mobile stack (pingdotgg#2855)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: codex <codex@users.noreply.github.com>

* Ensure Electron runtime is installed in release workflow (pingdotgg#2861)

* T3 Code Mobile [WIP] (pingdotgg#2013)

Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius@macmini.local>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>

* chore: add vendored reference repo subtree sync tooling (pingdotgg#2902)

Co-authored-by: codex <codex@users.noreply.github.com>

* Use HttpApi for Environment APIs & standardize authn/authz (pingdotgg#2858)

Co-authored-by: codex <codex@users.noreply.github.com>

* chore: add Alchemy reference repo subtree (pingdotgg#2918)

Co-authored-by: codex <codex@users.noreply.github.com>

* fix(desktop): Include standard Linux AppImage icons for Niri/Noctalia (pingdotgg#2915)

* Probe Cursor models via list_available_models (pingdotgg#2428)

Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius@mac.lan>

* Migrate workspace to Vite+ and pnpm (pingdotgg#2899)

Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>

* test(web): CI stability - prebundle react-dom client for browser tests (pingdotgg#2928)

* fix(ssh): Surface redacted stdout for failed commands (pingdotgg#2920)

* fix(desktop): Preserve SSH HTTP auth status (pingdotgg#2923)

Co-authored-by: Julius Marminge <jmarminge@gmail.com>

* fix: build web before desktop release packaging (pingdotgg#2934)

Co-authored-by: Julius Marminge <julius@mac.lan>

* ci: let setup-vp install dependencies (pingdotgg#2936)

Co-authored-by: Julius Marminge <julius@mac.lan>

* fix(release): surface desktop packaging subprocess output (pingdotgg#2937)

Co-authored-by: Julius Marminge <julius@mac.lan>

* chore: setup eas ci (pingdotgg#2911)

Co-authored-by: Julius Marminge <julius@mac.lan>

* fix(release): use workspace electron-builder for desktop packaging (pingdotgg#2938)

Co-authored-by: Julius Marminge <julius@mac.lan>

* [codex] remove duplicated pnpm root config (pingdotgg#2939)

Co-authored-by: Julius Marminge <julius@mac.lan>

* fix(release): install dependency closures in partial jobs (pingdotgg#2941)

Co-authored-by: Julius Marminge <julius@mac.lan>

* [codex] split ci workflow jobs (pingdotgg#2940)

Co-authored-by: Julius Marminge <julius@mac.lan>

* [codex] fix mobile native static analysis source discovery (pingdotgg#2942)

Co-authored-by: Julius Marminge <julius@mac.lan>

* fix(release): preserve desktop artifact arch (pingdotgg#2943)

Co-authored-by: Julius Marminge <julius@mac.lan>

* [codex] Fix desktop packaging patched dependencies (pingdotgg#2944)

Co-authored-by: codex <codex@users.noreply.github.com>

* [codex] Filter staged desktop patched dependencies (pingdotgg#2945)

Co-authored-by: codex <codex@users.noreply.github.com>

* fix(release): install hosted web workspace closure (pingdotgg#2949)

* fix(cli): bundle patched diff parser dependency (pingdotgg#2957)

Co-authored-by: Julius Marminge <julius@mac.lan>

* Prevent settings layout shifts with scrollbar gutters (pingdotgg#2960)

* [codex] fix release finalize install (pingdotgg#2961)

Co-authored-by: Julius Marminge <julius@mac.lan>

* fix(source-control): handle self-hosted GitLab, multi-account GitHub auth & azure devops web url (pingdotgg#2480)

Co-authored-by: Julius Marminge <julius@mac.lan>

* [codex] Avoid shell for Node executable spawns (pingdotgg#2952)

Co-authored-by: Julius Marminge <julius@mac.lan>

* [codex] Avoid shell for Windows environment probe (pingdotgg#2951)

Co-authored-by: Julius Marminge <julius@mac.lan>

* fix(composer): support spaces in file mentions (pingdotgg#2625)

* [codex] Avoid shell for system executables (pingdotgg#2950)

Co-authored-by: Julius Marminge <julius@mac.lan>

* feat(relay): Add managed relay tunnels and APN service (pingdotgg#2837)

Co-authored-by: codex <codex@users.noreply.github.com>

* Restructure documentation into topical folders (pingdotgg#2963)

* move

* dont fail if env-file is unspecified

* fallback to None when RELAY_DOMAIN is unset

* implicit install from vp

* forward args directly

* bump alchemy to fix absolute drizzle schema out

* bump alchemy to fix drizzle schema out attempt 2

* Migrate tests to vite-plus test APIs (pingdotgg#2964)

* remove `vp staged`

* publish deploy status on relay deploy workflow

* Use pnpm for server publish workflow (pingdotgg#2966)

* Rename function for publishing arguments to vp pm (pingdotgg#2967)

* Fix TodoPanel detail panel overflowing sidebar

- Apply right-full instead of left-full to prevent overflow
- Add browser tests for rendering, interactions, and detail panel
- Set viewport size in vitest browser config

* Remove duplicate 'publish' argument in CLI script

---------

Co-authored-by: Adam Buchweitz <312235+adambuchweitz@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Ibrahim Elkamali <126423069+Marve10s@users.noreply.github.com>
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Julius Marminge <julius@macmini.local>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: Mike Olson <mwolson@member.fsf.org>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Julius Marminge <jmarminge@gmail.com>
Co-authored-by: Guilherme Vieira <46866023+GuilhermeVieiraDev@users.noreply.github.com>
harrryyd added a commit to harrryyd/h-code that referenced this pull request Jun 8, 2026
* fix: maintain reasoning selections for multiple providers (pingdotgg#2760)

* [codex] Bump Effect to beta.73 and migrate compatibility APIs (pingdotgg#2840)

Co-authored-by: codex <codex@users.noreply.github.com>

* Add Claude Opus 4.8 support (pingdotgg#2849)

* Migrate TypeScript checks to Effect TSGo (pingdotgg#2851)

* Extract collection performance refactors from mobile stack (pingdotgg#2854)

Co-authored-by: codex <codex@users.noreply.github.com>

* Extract independent web cleanup from mobile stack (pingdotgg#2855)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: codex <codex@users.noreply.github.com>

* Ensure Electron runtime is installed in release workflow (pingdotgg#2861)

* T3 Code Mobile [WIP] (pingdotgg#2013)

Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius@macmini.local>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>

* chore: add vendored reference repo subtree sync tooling (pingdotgg#2902)

Co-authored-by: codex <codex@users.noreply.github.com>

* Use HttpApi for Environment APIs & standardize authn/authz (pingdotgg#2858)

Co-authored-by: codex <codex@users.noreply.github.com>

* chore: add Alchemy reference repo subtree (pingdotgg#2918)

Co-authored-by: codex <codex@users.noreply.github.com>

* fix(desktop): Include standard Linux AppImage icons for Niri/Noctalia (pingdotgg#2915)

* Probe Cursor models via list_available_models (pingdotgg#2428)

Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius@mac.lan>

* Migrate workspace to Vite+ and pnpm (pingdotgg#2899)

Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>

* test(web): CI stability - prebundle react-dom client for browser tests (pingdotgg#2928)

* fix(ssh): Surface redacted stdout for failed commands (pingdotgg#2920)

* fix(desktop): Preserve SSH HTTP auth status (pingdotgg#2923)

Co-authored-by: Julius Marminge <jmarminge@gmail.com>

* fix: build web before desktop release packaging (pingdotgg#2934)

Co-authored-by: Julius Marminge <julius@mac.lan>

* ci: let setup-vp install dependencies (pingdotgg#2936)

Co-authored-by: Julius Marminge <julius@mac.lan>

* fix(release): surface desktop packaging subprocess output (pingdotgg#2937)

Co-authored-by: Julius Marminge <julius@mac.lan>

* chore: setup eas ci (pingdotgg#2911)

Co-authored-by: Julius Marminge <julius@mac.lan>

* fix(release): use workspace electron-builder for desktop packaging (pingdotgg#2938)

Co-authored-by: Julius Marminge <julius@mac.lan>

* [codex] remove duplicated pnpm root config (pingdotgg#2939)

Co-authored-by: Julius Marminge <julius@mac.lan>

* fix(release): install dependency closures in partial jobs (pingdotgg#2941)

Co-authored-by: Julius Marminge <julius@mac.lan>

* [codex] split ci workflow jobs (pingdotgg#2940)

Co-authored-by: Julius Marminge <julius@mac.lan>

* [codex] fix mobile native static analysis source discovery (pingdotgg#2942)

Co-authored-by: Julius Marminge <julius@mac.lan>

* fix(release): preserve desktop artifact arch (pingdotgg#2943)

Co-authored-by: Julius Marminge <julius@mac.lan>

* [codex] Fix desktop packaging patched dependencies (pingdotgg#2944)

Co-authored-by: codex <codex@users.noreply.github.com>

* [codex] Filter staged desktop patched dependencies (pingdotgg#2945)

Co-authored-by: codex <codex@users.noreply.github.com>

* fix(release): install hosted web workspace closure (pingdotgg#2949)

* fix(cli): bundle patched diff parser dependency (pingdotgg#2957)

Co-authored-by: Julius Marminge <julius@mac.lan>

* Prevent settings layout shifts with scrollbar gutters (pingdotgg#2960)

* [codex] fix release finalize install (pingdotgg#2961)

Co-authored-by: Julius Marminge <julius@mac.lan>

* fix(source-control): handle self-hosted GitLab, multi-account GitHub auth & azure devops web url (pingdotgg#2480)

Co-authored-by: Julius Marminge <julius@mac.lan>

* [codex] Avoid shell for Node executable spawns (pingdotgg#2952)

Co-authored-by: Julius Marminge <julius@mac.lan>

* [codex] Avoid shell for Windows environment probe (pingdotgg#2951)

Co-authored-by: Julius Marminge <julius@mac.lan>

* fix(composer): support spaces in file mentions (pingdotgg#2625)

* [codex] Avoid shell for system executables (pingdotgg#2950)

Co-authored-by: Julius Marminge <julius@mac.lan>

* feat(relay): Add managed relay tunnels and APN service (pingdotgg#2837)

Co-authored-by: codex <codex@users.noreply.github.com>

* Restructure documentation into topical folders (pingdotgg#2963)

* move

* dont fail if env-file is unspecified

* fallback to None when RELAY_DOMAIN is unset

* implicit install from vp

* forward args directly

* bump alchemy to fix absolute drizzle schema out

* bump alchemy to fix drizzle schema out attempt 2

* Migrate tests to vite-plus test APIs (pingdotgg#2964)

* remove `vp staged`

* publish deploy status on relay deploy workflow

* Use pnpm for server publish workflow (pingdotgg#2966)

* Rename function for publishing arguments to vp pm (pingdotgg#2967)

* Fix TodoPanel detail panel overflowing sidebar

- Apply right-full instead of left-full to prevent overflow
- Add browser tests for rendering, interactions, and detail panel
- Set viewport size in vitest browser config

* Remove duplicate 'publish' argument in CLI script

* Refactor recoverable Effect fallbacks to orElseSucceed (pingdotgg#2968)

* document vp instead of mise

* link

* cleanup

* tip

* we support cursor, duhhh

* include @latest

* fix(cloud): use Electron fetch for proxying Clerk IPC requests (pingdotgg#2973)

* fix: handle Claude Agent SDK 0.3.x system messages to stop runtime-warning flood (pingdotgg#2872)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

* "claude system message" instead of "runtime warning" when using 4.8 from claude code (pingdotgg#2972)

* fix(desktop): stop looping macOS TCC permission prompts (pingdotgg#2745)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <jmarminge@gmail.com>

* Annotate relay error spans with schema fields (pingdotgg#2976)

* [codex] Enrich relay authorization diagnostics (pingdotgg#2977)

Co-authored-by: codex <codex@users.noreply.github.com>

* Fix shared/package.json exports and remove unused dep

- Remove stray closing brace from shared/package.json exports
- Drop unused @t3tools/monorepo dependency from root

---------

Co-authored-by: Adam Buchweitz <312235+adambuchweitz@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: codex <codex@users.noreply.github.com>
Co-authored-by: Ibrahim Elkamali <126423069+Marve10s@users.noreply.github.com>
Co-authored-by: Theo Browne <me@t3.gg>
Co-authored-by: Julius Marminge <julius@macmini.local>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: Mike Olson <mwolson@member.fsf.org>
Co-authored-by: Julius Marminge <julius@mac.lan>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Julius Marminge <jmarminge@gmail.com>
Co-authored-by: Guilherme Vieira <46866023+GuilhermeVieiraDev@users.noreply.github.com>
Co-authored-by: Abdul Azeez <abdulazeez44@gmail.com>
Co-authored-by: Peter Hozák <peter.hozak@gmail.com>
Co-authored-by: Ishan <ishansachu1@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant